﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Cricket.LinqModel
{
    public partial class FancyNineEleven
    {
        private IDataRepository _dataObject;
        public FancyNineEleven(IDataRepository dataObject)
            : this()
        {
            _dataObject = dataObject;
        }

        public void CreateFancyNineEleven()
        {
            _dataObject.CreateFancyNineEleven(this);
        }
        public void UpdateFancyNineEleven()
        {
            _dataObject.UpdateFancyNineEleven(this);
        }
        public List<GetFancyNineElevenResult> GetFancyNineEleven(int adminId, int matchId, int bettingType)
        {
            return _dataObject.GetFancyNineEleven(adminId, matchId, bettingType);
        }
    }
}
